##### My (demuredemeanor) ~/.ssh/config
# Uses tabstop=4; shiftwidth=4 tabs; foldmarker={{{,}}};
# https://notabug.org/demure/dotfiles/
# legacy repo http://github.com/demure/dotfiles

## If you are reading this, read:
# http://blogs.perl.org/users/smylers/2011/08/ssh-productivity-tips.html

### Internet Places ### {{{
    ### DD ### {{{
    host dd
        hostName demu.red
        Port 500

    host ddx
        hostName demu.red
        Port 500
        ForwardX11 yes
        ForwardX11Trusted no

    Host ddgpg
        HostName demu.red
        Port 500
        #RemoteForward /home/demure/.gnupg/S.gpg-agent /home/demure/.gnupg/S.gpg-agent.extra
        RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra

    host ddcomp
        hostName localhost
        Port 2001

    host ddtiny
        hostName localhost
        Port 2002

    ## for dd to sdf irc
    Host ddirc
    HostName ma.sdf.org
    LocalForward 2003 irc.sdf.org:6667
    User demure
    ServerAliveCountMax 300
    ServerAliveInterval 15
    ### End DD ### }}}

    ### SDF ### {{{
    host ma
        HostName ma.sdf.org

    host meta
        HostName meta.sdf.org

    host bb
        HostName meta.sdf.org
        RemoteCommand bboard
        RequestTTY yes

    host max
        HostName ma.sdf.org
        #ForwardAgent no
        ForwardX11 yes
        #ForwardX11Timeout 596h
        ForwardX11Trusted no

    host sdf
        HostName tty.sdf.org

    host cork
        hostName ma.sdf.org
        ProxyCommand corkscrew proxy.example.com 8080 %h %p

    host matiny
        hostName localhost
        Port 63753
    ### End SDF ### }}}

host mdns
    hostName demure.mdns.org
    Port 8080

host sleep
    hostName sleepermud.net

host gnu
    hostName fencepost.gnu.org

host ppc
    hostName deb.ppc64.club
### End Internet Places ### }}}

### Local Places ### {{{
host comp doom
    hostName moving-computer-of-doom.local

host tiny
    HostName tiny-server-of-doom.local

host net
    HostName moving-netbook-of-doom.local

host device
    HostName moving-device-of-doom.local
    User mobile

host route
    hostName 10.0.0.1
    Port 500

host wifi
    hostName 10.0.0.2
    Port 500
    User root

## NAS container for easy rsync
host nas_fs nfs
    hostName 10.0.0.10
    Port 502
    User root
### End Local Places ### }}}

## Default settings, unless overridden above
host *
    User demure
    Port 22
    ## Disabled to speed up connections
    GSSAPIAuthentication no
    ## https://pthree.org/2013/05/30/openssh-keys-and-the-drunken-bishop/
    VisualHostKey yes
    ## Speed up subsequent connections
    ControlMaster auto
    ControlPath /tmp/ssh_mux_%h_%p_%r
    ControlPersist 1h
